from playLA.Matrix import Matrix

if __name__ == '__main__':

    matrix = Matrix([[1,2],[3,4]])
    print(matrix)

    print("matrix.shape={}".format(matrix.shape()))
    print("matrix.row_num={}".format(matrix.row_num()))
    print("matrix.col_num={}".format(matrix.col_num()))
    print("matrix.size={}".format(matrix.size()))
    print("len(matrix)={}".format(len(matrix)))
    print("matrix[0,0]={}".format(matrix[0,0]))
    print("matrix.row_vector(0)={}".format(matrix.row_vector(0)))
    print("matrix.col_vector(0)={}".format(matrix.col_vector(0)))